package com.econ.powercloud.ems.pojo.requestVO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 通用单list入参VO类
 * @author jwc
 * @date 2023/03/31
 */
@Data
@ApiModel(value = "SingleListRequestVO", description = "单个List入参请求VO类")
public class SingleListRequestVO<T> {

    @Valid
    @NotEmpty(message = "参数不能为空")
    @ApiModelProperty("数据集合")
    private List<T> list;
}
